<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr" >
<!--
- CopyRight:  (C) dGB Earth Sciences
- Author:     A.H. Bril
- Date:       June 2008
- Contents:   FlexNet usage and installation
- RCS:        $Id$
-->
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>FlexNet installation on UNIX-type systems</title>
  <link rel="stylesheet" href="style.css" type="text/css" />
  </head>
<body id="page_bg" class="width_fmax">
<a name="top"></a>

<div id="all">
        <div id="wrapper">
                <div id="wrapper_r">
<div id="header">
                                <div id="header_l">
                               
                                        <div id="header_r">
                                                <div id="topbanner"></div>
                                                <div id="topmenu">
                                                </div>
                        <div id="leftcolumn">  
<table id="greenborder"><tbody>
<tr><td valign="top">

<h1><a name="unix">Installation on Linux, Mac, and Solaris</a></h1>
<p>
First of all: you have to make sure your systems comply with the <a href="http://opendtect.org/links/hardware_requirements.html">hardware requirements</a>. Specifically, FlexNET requires Linux distros to be LSB compliant. To check whether you distro is LSB compliant try running the command 'lsb_release'. If that command is not available on your system, then there is a high chance that FlexNET licensing is impossible on that computer. OpendTect itself does not have that restriction BTW.
</p>
<p>
In the following we will explain installation for people with no prior knowledge of FlexNet, or at least have no existing procedures to handle FlexNet licenses. System administrators who do will want to find what they need directly on <a href="http://opendtect.org/lic/Vendors">http://opendtect.org/lic/Vendors</a>. The packages there contain the binaries you need.
</p><p>
Installation on UNIX variants (Linux, Mac and Solaris) is done on the command line. OpendTect will generate, during installation, a couple of scripts to install the license and start the license server (if needed).
</p><p>
You can install the license file with a script 'install.xxx.license', where xxx would be your plugin vendor's name. For example: 'install.dgb.license'. These scripts are located in the root of your installation directory. Such a script will ask you where the license file you obtained is located. It will then install this file in your OpendTect installation.
</p><p>
For floating licenses (i.e. license files containing a 'SERVER' line), you will have to start the license manager daemon on the server. For this, there are the 'start.xxx.lmgrd' scripts. You can run this script after installation of the license file. All output from the license manager daemon will be sent to the log file, which is by default 'license.xxx.log'. Errors like './lmgrd: Command not found' can point towards non-LSB compliance (see the start of this chapter).
</p><p>
  If for some reason the license fails to be granted, you should examine:</p>
<ul>
  <li>The OpendTect log file (Utilities-Show log file)</li>
  <li>The 'license.xxx.log' file></li>
  <li>The plugin management window (Utilities-plugins)</li>
</ul>
<p>
  When you get an upgrade for one of your license files, you can again use the scripts. The 'start.xxx.lmgrd' script can be used to stop the daemon with:</p>
  <p><code>start.xxx.lmgrd stop</code></p><p>
After that, use install.xxx.license and start.xxx.lmgrd again as if you have obtained a new license. For the advanced users a warning: Windows clients usually have an own copy of the license file. Don't forget to replace those with the new license file too.
</p>

</td></tr></tbody></table>
</div>
                         <div id="footer">
                         </div>
                         </div>
                 </div>
         </div>
 </div>
</div>
</div>

</body>
</html>

